package com.sita.redsun.connector.service.common.requestbody;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonRootName;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by zhebinwang on 2017/4/1.
 */

@XmlRootElement(name = "response")
@JsonRootName("returnData")
@JsonPropertyOrder({
        "errorCode",
        "data"
})
public class Reply {

    private String errorCode;
    private Object data;


    public String getErrorCode() {
        return errorCode;
    }

    public Reply setErrorCode(String errorCode) {
        this.errorCode = errorCode;
        return this;
    }

    public Object getData() {
        return data;
    }

    public Reply setData(Object data) {
        this.data = data;
        return this;
    }
}
